cmake_minimum_required(VERSION 3.28)
project(Lex)

set(CMAKE_CXX_STANDARD 11)

add_executable(Lex lexicalAnalyzer.cpp
        RegextoNFA.cpp
        miniDFA.cpp
        util.cpp
        RegextoNFA.h
        NFAtoDFA.cpp)

add_executable(Syntax syntax.cpp)
